 |
 |
 |
 |
#200341 - 06/14/03 06:11 PM
[6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Moderator / Da Masta
Registered: 11/23/01
Posts: 2567
|
Name: Post Count-Restricted Forums Description: Allows Administrators to restrict access to a forum by post count. Restriction is via Forum Settings section in Control Panel, and an unlimited number of forums can be set in this way. Administrators and Moderators of the post count-restricted forums can bypass the post count limit, in the same way that they are able to bypass other forum restrictions. Fully Wordlet-ised for easy modification and translation. Link: TXT File Requirements: UBB.classic 6.5.x (May work on older 6.x versions - Unsupported by me if used on versions older than 6.2.x, since that's as far as my UBB backups go) Release Notes: Yes, this is the hack UBBDev's been waiting for for years (avoiding all possible exaggerations  ). Almost completely foolproof; in other words, you can't log out and access the protected forum, Mods of other forums can't make topics and move them into the protected forum, you can't search through the forum without access to it, etc. However, as is the nature of my hacks, there will be bugs.  Saying that, it has been tested intensively as far as possible. Any bugs (and their fixes if possible), problems, questions or anything else you'd like to moan about in this topic, please.  I'd also appreciate any posts from Charles Himself regarding safety/code sanity and so on. 
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#200346 - 06/16/03 03:08 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Moderator / Da Masta
Registered: 11/23/01
Posts: 2567
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#200379 - 09/24/03 12:02 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Member
Registered: 08/16/02
Posts: 31
|
I'm trying to install this hack for version 6.2.1. It all seemed to work fine in testing, and I posted a test message in the new count restricted forum, and all was good. Then I posted a message in a regular forum and I get this error message (though some of the posts are appearing anyway)
Undefined subroutine &main::update_tat called at /home/cgi-bin/atestboard/ubb_new_topic.cgi line 558.
On the ubb_new_topic.cgi file, in 6.2.1 there's nothing about a tat. (I went ahead and replaced some of the similar code with the hack code, but obviously I screwed it up)
For example, supposed to find:
Find: =====
# index: # create promo edition of message $mess_truncated = &promo($message); &append_index($in{f}, $new_topic_number, $this_forum[6], "000000", $message, $in{topic_subject});
# Update the CI & TAT indexes &RequireCode("$vars_config{CGIPath}/ubb_lib_ci.cgi"); my @td = &GetThreadData($in{f}, $new_topic_number); &update_tat($in{f}, $new_topic_number, @td); &refresh_recentmeta($in{f}, $new_topic_number, "000000", "add", @td); &update_cis($in{f}); &update_cis("ALL");
but here's what's there:
# index: # create promo edition of message $mess_truncated = &promo($message); &append_index($in{f}, $new_topic_number, $this_forum[6], "000000");
# take viewer back to forum %vars_style = &LoadStyleTemplate($template_match{transition}); &set_page_elements; &Transition("$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_topic;f=$in{f};t=$new_topic_number", "$vars_wordlets{thanks_for_posting}", "$in{topic_subject}");
Any ideas on what I should do? (If I can get this fixed, this is a COOL hack, perfect for what I want!)
Thanks,
Ang
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#200391 - 12/24/03 12:51 AM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Member
Registered: 09/09/01
Posts: 227
Loc: Louisiana, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#200392 - 01/20/04 08:55 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Wizard
Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#200396 - 02/04/04 10:42 PM
Re: [6.5] [beta] Post Count-Restricted Forums 2.0.0
|
Wizard
Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|